html, body {
    height: 100%;
}

/*弹窗公共样式开始*/
.modal .modal-header {
    padding: 10px 15px;
}

.modal .modal-title {
    font-size: 16px;
}

.modal .modal-content {
    border-radius: 0;
}

.modal .modal-footer {
    border-top: none;
    text-align: center;
}

.modal .btn {
    border-radius: 0;
    height: 30px;
    padding: 0 12px;
    margin: 0 10px;
}

.save-success-modal .modal-dialog {
    width: 320px;
}

.save-success-modal .modal-body {
    text-align: center;
}

.save-modal .modal-dialog {
    width: 420px;
}

.save-modal .modal-body .form-box .tit {
    display: inline-block;
    vertical-align: middle;
    width: 110px;
    text-align: right;
}

.save-modal .modal-body .form-box .form-item {
    margin-bottom: 15px;
}

.save-modal .modal-body .form-box .form-item:last-child {
    margin-bottom: 0;
}

.save-modal .modal-body .form-box .form-control {
    display: inline-block;
    vertical-align: middle;
    border-radius: 0;
    height: 30px;
    width: 210px;
}

/*弹窗公共样式结束*/

.box {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.box .top, .box .left, .box .right {
    position: absolute;
}

.box .top {
    left: 0;
    top: 0;
    right: 0;
    height: 50px;
    background-color: #212528;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
    color: #fff;
}

.box .top .system-name {
    margin-left: 30px;
    font-size:20px;
    letter-spacing: 3px;
    color:#51a6ee;
}

.box .top .system-sel {
    margin-left: 40px;
    font-size: 14px;
}

.box .top .system-sel .form-control {
    display: inline-block;
    width: auto;
    height: 30px;
    padding: 3px 5px;
    margin-left: 5px;
}

.box .top .back {
    margin-left: 20px;
    padding: 0 15px;
    cursor: pointer;
}

.box .top .guide {
    position: relative;
    margin-right: 30px;
    cursor: pointer;
}

.box .top .guide > div {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 1000;
    height: auto;
    line-height: 1.4;
    border: 1px solid #fff;
    width: 600px;
    padding: 5px;
    background-color: #212528;
}

.box .top .guide:hover > div {
    display: block;
}

.box .top .guide > div p {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 12px;
    text-align: left;
}

.box .top .guide > div p:first-child {
    margin-top: 0;
}

.box .top .save {
    margin-top: 11px;
    margin-right: 30px;
    padding: 2px 12px;
    cursor: pointer;
    line-height: 1.4;
    border: 1px solid #fff;
    border-radius: 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.box .left {
    top: 50px;
    left: 0;
    bottom: 0;
    width: 200px;
    background-color: #373d41;
}

.box .right {
    top: 50px;
    left: 200px;
    bottom: 0;
    right: 0;
    background-color: #2b2f32;
}

.box.box-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.box.box-inner .right.right-inner {
    left: 200px;
}

.box .left h3 {
    margin: 0;
    text-align: center;
    color: #fff;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    border-bottom: 1px solid #303538;
}

.box .left ul {
    margin: 0;
    overflow-y: auto;
}

.box .left ul li {
    cursor: pointer;
    width: 200px;
    padding: 10px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.box .left ul li:hover {
    background-color: #4d5459;
}

.box .left ul li.ui-draggable-dragging {
    cursor: crosshair !important;
}

.box .left ul img {
    width: 50px;
    display: block;
}

.box .left ul li .chart {
    padding: 5px;
}

.box .left ul li .des {
    padding: 10px;
    color: #fff;
}

.box .right .canvas {
    position: absolute;
    z-index: 0;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    background-color: #0e2a42;
}

.box .right .canvas .chart-box {
    border: 1px dashed transparent;
    z-index: 599;
}

.box .right .canvas .chart-box.border {
    border: 1px dashed #fff;
}

.box .right .canvas .chart-box.line {
    border: 1px dashed green !important;
}

.box .right .canvas .chart-box .chart {
    text-align: center;
}

.box .right .canvas .chart-box .chart img {
    display: block;
    width: 70px;
    margin-bottom: 10px;
}

.box .right .canvas .chart-box .chart > .name {
    color: #fff;
}

.box .right .canvas .chart-box .chart > .name.white {
    color: #fff;
}

.box .right .canvas .chart-box .chart > .name.yellow {
    color: yellow;
}

.box .right .canvas .chart-box .chart > .name.red {
    color: red;
}

.box .right .canvas .chart-box .info {
    padding: 5px 10px;
    position: absolute;
    left: 20px;
    bottom: 110%;
    width: 230px;
    border: 1px solid #fff;
    color: #fff;
    display: none;
}

.box .right .canvas .chart-box .info.white {
    color: #fff;
    border-color: #fff;
}

.box .right .canvas .chart-box .info.yellow {
    color: yellow;
    border-color: yellow;
}

.box .right .canvas .chart-box .info.red {
    color: red;
    border-color: red;
}

.box .right .canvas .chart-box .info:after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

.box .right .canvas .chart-box .info.white:after {
    border-top-color: #fff;
}
.box .right .canvas .chart-box .info.yellow:after {
    border-top-color: yellow;
}
.box .right .canvas .chart-box .info.red:after {
    border-top-color: red;
}

.box .right .canvas .chart-box .operation {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #fff;
    z-index: 999;
    display: none;
    cursor: pointer;
}

.box .right .canvas .chart-box .operation span {
    margin-left: 5px;
}

.box .right .canvas .chart-box:hover {
    border: 1px dashed #fff;
    z-index: 600 !important;
}

.box .right .canvas .chart-box:hover .operation, .box .right .canvas .chart-box:hover .info {
    display: block;
}

.box .right .canvas .render {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.box .property {
    position: absolute;
    right: 100px;
    top: 80px;
    width: 220px;
    background-color: #efefef;
}

.box .property .title {
    margin: 0;
    padding: 10px;
    font-size: 14px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.box .property ul {
    margin-bottom: 0;
}

.box .property li {
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.box .property li h5 {
    padding: 5px 0;
    margin: 0;
    font-size: 12px;
}

.box .property li .form-control {
    border-radius: 0;
    font-size: 12px;
}

.box .property li .btn {
    display: block;
    border-radius: 0;
    padding: 3px 12px;
    width: 54px;
    margin: 10px auto;
}
/*提示框组件样式开始*/
.m-alert {
    position: fixed;
    top: 10px;
    right: 15px;
    padding: 15px 25px 15px 15px;
    border-radius: 4px;
    background-color: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
    font-size: 16px;
    transform: translateY(-200%);
    transition: .3s;
    z-index: 4000;
}

.m-alert.show {
    transform: translateY(0);
}

.m-alert .content {
    display: inline-block;
    vertical-align: middle;
}

.m-alert .closed {
    padding: 0 5px;
    position: relative;
    right: -25px;
    top: -3px;
    color: #8a6d3b;
    font-size: 30px;
    line-height: 1;
}

/*提示框组件样式结束*/
